package com.apex.service.serviceImpl;

import com.apex.pojo.Product;
import com.apex.mapper.ProductMapper;
import com.apex.service.ProductService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author George
 * @since 2023-06-24
 */
@Service
public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> implements ProductService {

    @Resource
    private ProductMapper productMapper;
    @Override
    public List<Product> productQuery() {
        return productMapper.selectList(null);
    }
}
